package com.hu.lsp.Untils;

import com.hu.lsp.Test.PenBean;

import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.function.Function;
import java.util.function.Predicate;
import java.util.stream.Collectors;

/**
 * @Author lsp
 * @Date 2020/8/27 13:49
 * @Version 1.0
 */
public class ListUntil {


    static class Thread1 extends Thread{
        public void run(){
            System.out.println("A"+Thread1.currentThread().getName());
        }
    }
    static class Thread2 extends Thread{
        public void run(){
            System.out.println("b"+ Thread2.currentThread().getName());
        }
    }
    static class Thread3 extends Thread{
        public void run(){
            System.out.println("c"+ Thread3.currentThread().getName());
        }
    }
    public static void main(String[] args) {
        Thread1 thread1= new Thread1();
        Thread2 thread2= new Thread2();
        Thread3 thread3= new Thread3();
        thread1.start();
        thread2.start();
        thread3.start();



    }


}
